package com.yt.dor.models.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;

/**
 * 违规表详情SaveBO
 *
 * @author thekai
 * @Date 2025-10-28 16:38:28
 */
@Data
public class ViolationRecordSaveBO implements Serializable {
    @ApiModelProperty(value = "违规记录 ID")
    private Long id;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "违规描述（如使用违规电器、夜不归宿）")
    private String des;
    @ApiModelProperty(value = "违规房间 ID（关联 dorm_room 表，个人违规时为 null）")
    private Long roomId;
    @ApiModelProperty(value = "扣分数值（如 - 1、-2）")
    private Integer score;
    @ApiModelProperty(value = "记录管理员 ID（关联 sys_user 表）")
    private Long adminId;
    @ApiModelProperty(value = "学期（如 20241 代表 2024 年第一学期）")
    private Integer semester;
}